XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Sebastien VinchonSubject: Use content of node as node name in xQuery
Author: Sebastien Vinchon
Date: 10 Dec 2008 11:32 AM
I am trying to write a simple xQuery to convert XML resulting from XLS conversion into XML I can use with the software of my company.

I am almost there but I do not seem to be able to name nodes in the output out of the content of nodes in the input.

My less than and greater than signs are always converted into entities.

Can someone have a look at the attached files?


UnknownXLS2XML.zip

Posttop
Sebastien VinchonSubject: Use content of node as node name in xQuery
Author: Sebastien Vinchon
Date: 10 Dec 2008 12:42 PM
I found the solution myself using the "element" keyword.


Unknownxls.xquery

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.