473,809 Members | 2,791 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XML Tool

Hello,

I am doing some XSLT tranformations. I have a pretty complicated XML
document with high level of nesting. I am looking for a tool that
gives me the "hierarchia l path" to the element I select for example if
in the xml below - I select <City>XY</City> - I want to get
"Address/Address/City"

<Addresses>
<Address>
<City>XY</City>
</Address>
</Addresses>

Are there any tools that can achieve this?

Thank you.

AZXML
Jul 20 '05 #1
3 2162
You could use our tool, the 'Exchanger XML Editor' for this. Our editor will
give you the XPath to the current selected element in either Viewer, Editor
or Outliner mode.

http://www.exchangerxml.com/

Regards,
Edwin Dankert
Cladonia Ltd.
http://www.cladonia.com/
"Just Curious" wrote in message
news:d2******** *************** ***@posting.goo gle.com...
Hello,

I am doing some XSLT tranformations. I have a pretty complicated XML
document with high level of nesting. I am looking for a tool that
gives me the "hierarchia l path" to the element I select for example if
in the xml below - I select <City>XY</City> - I want to get
"Address/Address/City"

<Addresses>
<Address>
<City>XY</City>
</Address>
</Addresses>

Are there any tools that can achieve this?

Thank you.

AZXML
Jul 20 '05 #2
sh*******@hotma il.com (Just Curious) writes:
Hello,

I am doing some XSLT tranformations. I have a pretty complicated XML
document with high level of nesting. I am looking for a tool that
gives me the "hierarchia l path" to the element I select for example if
in the xml below - I select <City>XY</City> - I want to get
"Address/Address/City"

<Addresses>
<Address>
<City>XY</City>
</Address>
</Addresses>

Are there any tools that can achieve this?


An XSLT template of the following form will return
what you want, which is what old SGML hands still call
the fully-qualified generic identifier (FQGI).

<xsl:template match="*" mode="showpath" >
<xsl:apply-templates select="parent: :*" mode="showpath"/>
<xsl:text>/</xsl:text>
<xsl:value-of select="name()"/>
</xsl:template>

-C. M. Sperberg-McQueen
Jul 20 '05 #3
Thank you all. You have been both very helpful! It is exactly what I needed.

sh*******@hotma il.com (Just Curious) wrote in message news:<d2******* *************** ****@posting.go ogle.com>...
Hello,

I am doing some XSLT tranformations. I have a pretty complicated XML
document with high level of nesting. I am looking for a tool that
gives me the "hierarchia l path" to the element I select for example if
in the xml below - I select <City>XY</City> - I want to get
"Address/Address/City"

<Addresses>
<Address>
<City>XY</City>
</Address>
</Addresses>

Are there any tools that can achieve this?

Thank you.

AZXML

Jul 20 '05 #4

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

Similar topics

3
2618
by: _andrea.l | last post by:
how to build a interfaces (or web pages) in easy way? how to build a form in easy way? how to automate and create web pages whit a tool? which tool to use to create form for a database? I mean there is a way or a tool which help me to build an interfaces (web pages) to deal with the data in a database ? Tahnk you in advance, Andrea.
1
3216
by: Vandana Rola | last post by:
Hello Everyone, We are using javascript's tooltip (pop up on mouse over )function. The problem we are having is as we go scroll two or three pages deep in to the html page our tool tip /pop up gets farther away from the position where it is supposed to be. It happens to the extend that at certain point we don't see the tool tip at all. Is there a way to fix the position of the tool tip /pop up, so that no matter how deep we are in the...
6
3029
by: d.warnermurray | last post by:
I am doing a project for school that involves creating help files for a html authoring tool. If you could help me with answers to some questions it would really help. 1. What tasks do you expect an html authoring tool to help you accomplish? 2. What do you expect from online help for a html authoring tool? 3. What audience do you think a freeware html authoring tool is directed towards?
16
15993
by: jblankenburg | last post by:
I am trying to deploy a simple web application to my client's production server, but it's not clear to me how MS planned on having the Security users managed without Studio. Certainly someone has run into this issue. How do you manage users (the ones you would normally manage with the Web Site Administration Tool) without Studio to get you to the Web Site Administration Tool ? Thanks for your help!
0
1802
by: CharlesA | last post by:
sorry I had to clarify my previous post as I wasn't able to get specific answers so I'm made this very targetted to what I actually pretty desperate to fix. my Setup: I've got XP pro, IIS 5 , visual Studio 2005, asp.net 2.0 and C#, I have SQL server 2005 installed as well. if I create a web site with the internal web server of VS2005, I have no
5
2351
by: TonyJ | last post by:
Hello!! Is it anyone that have some experience using a good case tool that support C# design in using UML. For example reverse engineering. I have used the together case tool when I worked with the Java language. //Tony
7
2328
by: ab3331 | last post by:
I need a tool that acts like a browser, but instead of actually rendering a page, it explains in English exactly what rules it's interpreting. This would make it simple to see which rules are applied, which are ignored, which are inherited or not, which are superceded, etc. This would be a huge aid in debugging pages. (I currently have a page that is included by another page - it's actually a menu - but it's rendered differently...
4
2387
by: Anastasios Hatzis | last post by:
I'm looking for a pattern where different client implementations can use the same commands of some fictive tool ("foo") by accessing some kind of API. Actually I have the need for such pattern for my own tool (http://openswarm.sourceforge.net). I already started restructuring my code to separate the actual command implementations from the command-line scripts (which is optparser-based now) and have some ideas how to proceed. But probably...
26
25621
by: webrod | last post by:
Hi, I have some php pages with a lot of HTML code. I am looking for a HTML validator tool (like TIDY). TIDY is not good enough with PHP tags (it removes a lot of php code). Do you have any idea? Thanks you very much
6
2525
by: Jonathan Wood | last post by:
Okay, I've been through this a couple of times now but it's still not coming together. I have an existing Website that I need to add ASP.NET membership functionality to. So, after manually messing around with the Web.Config file for a while, I finally got the ASP.NET Configuration Tool to stop complaining about being able to connect to my data source. But when I attempt to access the security tab, I get the error "Could not find...
0
9721
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
10635
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
9198
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
7653
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
5550
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...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
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
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3013
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.