473,761 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remove a nodes where attribute has specified text. (Variable depth xml)

I have an XML document as follows:

<Menu>
<Group>
<Item Text="About Us" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Al l" />
<Item Text="Option 3" AccessRoles="Al l" />
</Group>
</Item>
<Item Text="Projects" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Em ployee" />
<Item Text="Option 3" AccessRoles="Ma nager,Executive " />
</Group>
</Item>
<Item Text="Library" AccessRoles="Em ployee,Manager, Executive">
<Group>
<Item Text="Option 1" AccessRoles="Em ployee" />
<Item Text="Option 2" AccessRoles="Ma nager" />
<Item Text="Option 3" AccessRoles="Ex ecutive" />
</Group>
</Item>
</Group>
</Menu>

This xml is used for telerik RADMenu component and before I use it with
the control I want to read the document and remove any menu options
(<Item>) that the current logged in user does not have roles for.

At the point of reading/parsing the document I have a comma-delimited
string (or ArrayList) of roles assigned to the current user (including
role "All") and so I need to check to see if any of the roles exist in
the AccessRoles attribute for each item.

The problem I am having is in removing the nodes that do not meet the
criteria.

I have been going down the following route (please note that this code
is only checking for the "All" role)...

Public Shared Function GetRoleBasedMen uXml() As String
Dim strMenuXml As String
Dim xmldocMenu As XmlDocument
strMenuXml = HttpContext.Cur rent.Cache.Get( "PortMenuXM L")

xmldocMenu = New XmlDocument
xmldocMenu.Load Xml(strMenuXml)
Dim xmlnlMenuItem As XmlNodeList =
xmldocMenu.GetE lementsByTagNam e("Item")

For Each xmlNode As XmlNode In xmlnlMenuItem
If Not xmlNode.Attribu tes("AccessRole s") Is Nothing Then
If xmlNode.Attribu tes("AccessRole s").Value <> "All" Then
xmlNode.RemoveA ll()
xmlNode.RemoveC hild(xmlNode.Pa rent)
End If
End If
Next

Dim swFormattedMenu XML As StringWriter
swFormattedMenu XML = New StringWriter
xmldocMenu.Save (swFormattedMen uXML)
Return swFormattedMenu XML.ToString()
End Function

The problem with this is that the RemoveAll() method only removes the
child nodes and the current node attributes leaving <Item></Item>. I
have tried to use xmlNode.ParentN ode.RemoveChild (xmlNode) after the
RemoveAll but this is invalid in a For Each loop! I have spent most of
my day trying to find different ways around this problem (XPath etc.)
but because it is variable depth and also the nature of the AccessRoles
validation it has proved unfruitful - I am missing something!

Any help/suggestions would be greatly appreciated!

Nov 12 '05 #1
8 2640
This is a task that can be accomplished nicely with XSLT. Just override the
identity rule with an empty rule that matches the nodes to be removed.
Cheers,
Dimitre Novatchev.
"Mikey" <mi*****@sivers .co.uk> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. .
I have an XML document as follows:

<Menu>
<Group>
<Item Text="About Us" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Al l" />
<Item Text="Option 3" AccessRoles="Al l" />
</Group>
</Item>
<Item Text="Projects" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Em ployee" />
<Item Text="Option 3" AccessRoles="Ma nager,Executive " />
</Group>
</Item>
<Item Text="Library" AccessRoles="Em ployee,Manager, Executive">
<Group>
<Item Text="Option 1" AccessRoles="Em ployee" />
<Item Text="Option 2" AccessRoles="Ma nager" />
<Item Text="Option 3" AccessRoles="Ex ecutive" />
</Group>
</Item>
</Group>
</Menu>

This xml is used for telerik RADMenu component and before I use it with
the control I want to read the document and remove any menu options
(<Item>) that the current logged in user does not have roles for.

At the point of reading/parsing the document I have a comma-delimited
string (or ArrayList) of roles assigned to the current user (including
role "All") and so I need to check to see if any of the roles exist in
the AccessRoles attribute for each item.

The problem I am having is in removing the nodes that do not meet the
criteria.

I have been going down the following route (please note that this code
is only checking for the "All" role)...

Public Shared Function GetRoleBasedMen uXml() As String
Dim strMenuXml As String
Dim xmldocMenu As XmlDocument
strMenuXml = HttpContext.Cur rent.Cache.Get( "PortMenuXM L")

xmldocMenu = New XmlDocument
xmldocMenu.Load Xml(strMenuXml)
Dim xmlnlMenuItem As XmlNodeList =
xmldocMenu.GetE lementsByTagNam e("Item")

For Each xmlNode As XmlNode In xmlnlMenuItem
If Not xmlNode.Attribu tes("AccessRole s") Is Nothing Then
If xmlNode.Attribu tes("AccessRole s").Value <> "All" Then
xmlNode.RemoveA ll()
xmlNode.RemoveC hild(xmlNode.Pa rent)
End If
End If
Next

Dim swFormattedMenu XML As StringWriter
swFormattedMenu XML = New StringWriter
xmldocMenu.Save (swFormattedMen uXML)
Return swFormattedMenu XML.ToString()
End Function

The problem with this is that the RemoveAll() method only removes the
child nodes and the current node attributes leaving <Item></Item>. I
have tried to use xmlNode.ParentN ode.RemoveChild (xmlNode) after the
RemoveAll but this is invalid in a For Each loop! I have spent most of
my day trying to find different ways around this problem (XPath etc.)
but because it is variable depth and also the nature of the AccessRoles
validation it has proved unfruitful - I am missing something!

Any help/suggestions would be greatly appreciated!

Nov 12 '05 #2
Reverse this call:
xmlNode.RemoveC hild(xmlNode.Pa rent)

To become:
xmlNode.Parent. RemoveChild(xml Node);

Then you don't even need:
xmlNode.RemoveA ll()
"Mikey" <mi*****@sivers .co.uk> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. .
I have an XML document as follows:

<Menu>
<Group>
<Item Text="About Us" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Al l" />
<Item Text="Option 3" AccessRoles="Al l" />
</Group>
</Item>
<Item Text="Projects" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Em ployee" />
<Item Text="Option 3" AccessRoles="Ma nager,Executive " />
</Group>
</Item>
<Item Text="Library" AccessRoles="Em ployee,Manager, Executive">
<Group>
<Item Text="Option 1" AccessRoles="Em ployee" />
<Item Text="Option 2" AccessRoles="Ma nager" />
<Item Text="Option 3" AccessRoles="Ex ecutive" />
</Group>
</Item>
</Group>
</Menu>

This xml is used for telerik RADMenu component and before I use it with
the control I want to read the document and remove any menu options
(<Item>) that the current logged in user does not have roles for.

At the point of reading/parsing the document I have a comma-delimited
string (or ArrayList) of roles assigned to the current user (including
role "All") and so I need to check to see if any of the roles exist in
the AccessRoles attribute for each item.

The problem I am having is in removing the nodes that do not meet the
criteria.

I have been going down the following route (please note that this code
is only checking for the "All" role)...

Public Shared Function GetRoleBasedMen uXml() As String
Dim strMenuXml As String
Dim xmldocMenu As XmlDocument
strMenuXml = HttpContext.Cur rent.Cache.Get( "PortMenuXM L")

xmldocMenu = New XmlDocument
xmldocMenu.Load Xml(strMenuXml)
Dim xmlnlMenuItem As XmlNodeList =
xmldocMenu.GetE lementsByTagNam e("Item")

For Each xmlNode As XmlNode In xmlnlMenuItem
If Not xmlNode.Attribu tes("AccessRole s") Is Nothing Then
If xmlNode.Attribu tes("AccessRole s").Value <> "All" Then
xmlNode.RemoveA ll()
xmlNode.RemoveC hild(xmlNode.Pa rent)
End If
End If
Next

Dim swFormattedMenu XML As StringWriter
swFormattedMenu XML = New StringWriter
xmldocMenu.Save (swFormattedMen uXML)
Return swFormattedMenu XML.ToString()
End Function

The problem with this is that the RemoveAll() method only removes the
child nodes and the current node attributes leaving <Item></Item>. I
have tried to use xmlNode.ParentN ode.RemoveChild (xmlNode) after the
RemoveAll but this is invalid in a For Each loop! I have spent most of
my day trying to find different ways around this problem (XPath etc.)
but because it is variable depth and also the nature of the AccessRoles
validation it has proved unfruitful - I am missing something!

Any help/suggestions would be greatly appreciated!

Nov 12 '05 #3
Sorry Chris, I have written this incorrectly! As you have suggested I
did use xmlNode.Parent. RemoveChild(xml Node). But because this is in a
For Each loop this does not work?!

Chris Lovett wrote:
Reverse this call:
xmlNode.RemoveC hild(xmlNode.Pa rent)

To become:
xmlNode.Parent. RemoveChild(xml Node);

Then you don't even need:
xmlNode.RemoveA ll()
"Mikey" <mi*****@sivers .co.uk> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. .
I have an XML document as follows:

<Menu>
<Group>
<Item Text="About Us" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Al l" />
<Item Text="Option 3" AccessRoles="Al l" />
</Group>
</Item>
<Item Text="Projects" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Em ployee" />
<Item Text="Option 3" AccessRoles="Ma nager,Executive " />
</Group>
</Item>
<Item Text="Library" AccessRoles="Em ployee,Manager, Executive">
<Group>
<Item Text="Option 1" AccessRoles="Em ployee" />
<Item Text="Option 2" AccessRoles="Ma nager" />
<Item Text="Option 3" AccessRoles="Ex ecutive" />
</Group>
</Item>
</Group>
</Menu>

This xml is used for telerik RADMenu component and before I use it with
the control I want to read the document and remove any menu options
(<Item>) that the current logged in user does not have roles for.

At the point of reading/parsing the document I have a comma-delimited
string (or ArrayList) of roles assigned to the current user (including
role "All") and so I need to check to see if any of the roles exist in
the AccessRoles attribute for each item.

The problem I am having is in removing the nodes that do not meet the
criteria.

I have been going down the following route (please note that this code
is only checking for the "All" role)...

Public Shared Function GetRoleBasedMen uXml() As String
Dim strMenuXml As String
Dim xmldocMenu As XmlDocument
strMenuXml = HttpContext.Cur rent.Cache.Get( "PortMenuXM L")

xmldocMenu = New XmlDocument
xmldocMenu.Load Xml(strMenuXml)
Dim xmlnlMenuItem As XmlNodeList =
xmldocMenu.GetE lementsByTagNam e("Item")

For Each xmlNode As XmlNode In xmlnlMenuItem
If Not xmlNode.Attribu tes("AccessRole s") Is Nothing Then
If xmlNode.Attribu tes("AccessRole s").Value <> "All" Then
xmlNode.RemoveA ll()
xmlNode.RemoveC hild(xmlNode.Pa rent)
End If
End If
Next

Dim swFormattedMenu XML As StringWriter
swFormattedMenu XML = New StringWriter
xmldocMenu.Save (swFormattedMen uXML)
Return swFormattedMenu XML.ToString()
End Function

The problem with this is that the RemoveAll() method only removes the
child nodes and the current node attributes leaving <Item></Item>. I
have tried to use xmlNode.ParentN ode.RemoveChild (xmlNode) after the
RemoveAll but this is invalid in a For Each loop! I have spent most of
my day trying to find different ways around this problem (XPath etc.)
but because it is variable depth and also the nature of the AccessRoles
validation it has proved unfruitful - I am missing something!

Any help/suggestions would be greatly appreciated!


Nov 12 '05 #4
Sorry, there is a mistake in the vb code below...

xmlNode.RemoveC hild(xmlNode.Pa rent) should have read
xmlNode.Parent. RemoveChild(xml *Node) which is in my working code.

I appologise for the diversion!

Mikey wrote:
I have an XML document as follows:

<Menu>
<Group>
<Item Text="About Us" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Al l" />
<Item Text="Option 3" AccessRoles="Al l" />
</Group>
</Item>
<Item Text="Projects" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Em ployee" />
<Item Text="Option 3" AccessRoles="Ma nager,Executive " />
</Group>
</Item>
<Item Text="Library" AccessRoles="Em ployee,Manager, Executive">
<Group>
<Item Text="Option 1" AccessRoles="Em ployee" />
<Item Text="Option 2" AccessRoles="Ma nager" />
<Item Text="Option 3" AccessRoles="Ex ecutive" />
</Group>
</Item>
</Group>
</Menu>

This xml is used for telerik RADMenu component and before I use it with
the control I want to read the document and remove any menu options
(<Item>) that the current logged in user does not have roles for.

At the point of reading/parsing the document I have a comma-delimited
string (or ArrayList) of roles assigned to the current user (including
role "All") and so I need to check to see if any of the roles exist in
the AccessRoles attribute for each item.

The problem I am having is in removing the nodes that do not meet the
criteria.

I have been going down the following route (please note that this code
is only checking for the "All" role)...

Public Shared Function GetRoleBasedMen uXml() As String
Dim strMenuXml As String
Dim xmldocMenu As XmlDocument
strMenuXml = HttpContext.Cur rent.Cache.Get( "PortMenuXM L")

xmldocMenu = New XmlDocument
xmldocMenu.Load Xml(strMenuXml)
Dim xmlnlMenuItem As XmlNodeList =
xmldocMenu.GetE lementsByTagNam e("Item")

For Each xmlNode As XmlNode In xmlnlMenuItem
If Not xmlNode.Attribu tes("AccessRole s") Is Nothing Then
If xmlNode.Attribu tes("AccessRole s").Value <> "All" Then
xmlNode.RemoveA ll()
xmlNode.RemoveC hild(xmlNode.Pa rent)
End If
End If
Next

Dim swFormattedMenu XML As StringWriter
swFormattedMenu XML = New StringWriter
xmldocMenu.Save (swFormattedMen uXML)
Return swFormattedMenu XML.ToString()
End Function

The problem with this is that the RemoveAll() method only removes the
child nodes and the current node attributes leaving <Item></Item>. I
have tried to use xmlNode.ParentN ode.RemoveChild (xmlNode) after the
RemoveAll but this is invalid in a For Each loop! I have spent most of
my day trying to find different ways around this problem (XPath etc.)
but because it is variable depth and also the nature of the AccessRoles
validation it has proved unfruitful - I am missing something!

Any help/suggestions would be greatly appreciated!


Nov 12 '05 #5
Many thanks for the guidance Dimitre! Is there any chance of an
example? I have not used XSLT before and although I will start looking
at the documentation on msdn library an example for this scenario would
be a great help.
Thanks again!

Nov 12 '05 #6
Just a thought Mike,

instead of trying to delete the node from within the foreach loop which you
say doesn't work,
could you add each node that you want deleted into an ArrayList and then
after the foreach loop go through this Array and do the deleting that you
require?


"Mikey" <mi*****@sivers .co.uk> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
Sorry, there is a mistake in the vb code below...

xmlNode.RemoveC hild(xmlNode.Pa rent) should have read
xmlNode.Parent. RemoveChild(xml *Node) which is in my working code.

I appologise for the diversion!

Nov 12 '05 #7
I have resolved the problem! - It amazing what a new day can do for
clearing the head! :) I just used a Do While Loop instead of the For
Each Loop.

Dim intIndex As Integer = 0
Dim intLimit As Integer = xmlnlMenuItem.C ount - 1

Do While intIndex < intLimit
Dim node As XmlNode
node = xmlnlMenuItem.I tem(intIndex)
If Not node.Attributes ("AccessRole s") Is Nothing Then
If node.Attributes ("AccessRoles") .Value <> "All" Then
node.ParentNode .RemoveChild(no de)
intIndex -= 1
intLimit = xmlnlMenuItem.C ount - 1
End If
End If
intIndex += 1
Loop

Thankyou all for you help, I do appreciate it.

Nov 12 '05 #8

"Mikey" <mi*****@sivers .co.uk> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
Many thanks for the guidance Dimitre! Is there any chance of an
example? I have not used XSLT before and although I will start looking
at the documentation on msdn library an example for this scenario would
be a great help.
Thanks again!


Hi Mikey,

This transformation:

<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:user="use r:roles"
exclude-result-prefixes="user" >
<xsl:output omit-xml-declaration="ye s" indent="yes"/>
<xsl:strip-space elements="*"/>

<user:roles>
<role name="Employee"/>
</user:roles>

<xsl:variable name="vRoles"
select="documen t('')/*/user:roles/*"/>

<xsl:template match="node()|@ *" name="identity" >
<xsl:copy>
<xsl:apply-templates select="node()| @*"/>
</xsl:copy>
</xsl:template>

<xsl:template match="Item">
<xsl:if test=
"$vRoles[contains(curren t()/@AccessRoles, @name)]
or
current()/@AccessRoles = 'All'">
<xsl:call-template name="identity"/>
</xsl:if>
</xsl:template>
</xsl:stylesheet>

when applied on your source xml:

<Menu>
<Group>
<Item Text="About Us" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Al l" />
<Item Text="Option 3" AccessRoles="Al l" />
</Group>
</Item>
<Item Text="Projects" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l" />
<Item Text="Option 2" AccessRoles="Em ployee" />
<Item Text="Option 3" AccessRoles="Ma nager,Executive " />
</Group>
</Item>
<Item Text="Library" AccessRoles="Em ployee,Manager, Executive">
<Group>
<Item Text="Option 1" AccessRoles="Em ployee" />
<Item Text="Option 2" AccessRoles="Ma nager" />
<Item Text="Option 3" AccessRoles="Ex ecutive" />
</Group>
</Item>
</Group>
</Menu>
produces the wanted result:

<Menu>
<Group>
<Item Text="About Us" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l">
</Item>
<Item Text="Option 2" AccessRoles="Al l">
</Item>
<Item Text="Option 3" AccessRoles="Al l">
</Item>
</Group>
</Item>
<Item Text="Projects" AccessRoles="Al l">
<Group>
<Item Text="Option 1" AccessRoles="Al l">
</Item>
<Item Text="Option 2" AccessRoles="Em ployee">
</Item>
</Group>
</Item>
<Item Text="Library" AccessRoles="Em ployee,Manager, Executive">
<Group>
<Item Text="Option 1" AccessRoles="Em ployee">
</Item>
</Group>
</Item>
</Group>
</Menu>

In the real case the user roles will not be embedded in the stylesheet, but
will be accessible as a separate xml document.
Cheers,
Dimitre Novatchev
Nov 12 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2754
by: Johannes Lebek | last post by:
Hi there, somehow, I cannot access nodes that are stored in a variable. I'm using Xalan 2.5.1 and the following commands: ================ BEGIN ==================== <xsl:variable name="referenced-node" select="//a"/> <xsl:variable name="attribute-source">
9
2431
by: Rolf Kemper | last post by:
Dear Experts, I got stuck with the following problem and need your help. What I wnat to do is to get a set of distinct nodes. Before the distinct I have selected the multiple occourences already sucsessfully. However , the rest does not work as expected. Hope someone can help on that. Rolf
2
7967
by: Claudio Jolowicz | last post by:
How can XSLT stylesheets be used to edit, remove and add nodes specified by their position in the document tree? The XML document stores development tasks in a hierarchical way, i.e. tasks can have subtasks, subsubtasks, etc. It has the following form: <todo> <note>Task 1</note> <note> Task 2
3
2193
by: serge calderara | last post by:
Dear all, I have a csv file data which has been read and populate on a dataset object. then I need to bind part of the content of the dataset to a treeview control. I have read that XML format is particular usefull to be bind to a treeview as it handle nodes. So I have try to save my dataset content into a xml file. The content of that file is as follow : - <NewDataSet> - <REC_INFO>
1
4094
by: Patrick.O.Ige | last post by:
I have a xml file and i want to format it using XSL My XSL file and XML below I needed to do a distinct which is ok on the first node "Code" For the "programDescription" i did below which gets the Count of the nodes and i get the programDescription node but it duplicates for the selected "Code" Node. So if the Count is 3 its shows values "Crazy Training 2" 3 times for Code "PRG004" Any help?
21
39473
by: James Black | last post by:
I am curious if there is a benefit to set attributes directly, in my javascript, or to use setAttribute. For example, I have this: var input = document.createElementNS(xhtmlNS, 'input'); input.setAttribute('width', '20em'); I could have just called input.width='20em' When is each better to use, or is there no difference between them?
0
1825
by: sugarsmack | last post by:
Hi folks, Using XSL, I'm trying to take an XML file containing a flat list of "topics" and generate a hierarchical topic map. The topic nodes include a role attribute that indicates their position in the hierarchy (role="1" being the top node). Here is the original XML file structure: <NoName> <topic id="id1" role="1"> <title>Heading 1 Title</title> <body>
15
3988
by: CI | last post by:
I have the following XML file <Book> <Chapters> <Chapter number="1"/> <Chapter number="2"/> </Chapters> <Colors> <Color RGB="255"/> <Color RGB="211" name="Red"/>
4
1754
by: N9 | last post by:
Hi I had a xslt that parse a XML document, output is HTML But XSLT adding not valid code: <ul class="level_1" xmlns="" xmlns:xsi="http://www.w3.org/2001/ XMLSchema-instance"> I had try to adding the text below to stylesheet but it does't help.
0
9538
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9353
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8794
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7342
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6623
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5241
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3889
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2765
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.