[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Serialization of XDM - Use cases / Proposal

  • From: "David A. Lee" <dlee@calldei.com>
  • To: Michael Kay <mike@saxonica.com>
  • Date: Mon, 21 Sep 2009 08:14:15 -0400

Re:  Serialization of XDM - Use cases / Proposal
Ouch.  If this cant be done in xquery syntax then my goal of de-serializing an XML representation using a XQuery example implementation is out the door.

Here's my best shot ...


attribute
   { fn:QName( "U" , "P:N" ) }
   { my:IdType( "S" ) }    (: wont work will it :( :)


Ok I admit I'm totally stumped.  *IS* there a way to re-animate this example using XQuery (or XSLT?)  ?
I have a feeling that my goal of providing a reference implementation in XQuery will be impossible.  Not even sure how to get element type information re-animated.



David A. Lee
dlee@calldei.com  
http://www.calldei.com
http://www.xmlsh.org
812-482-5224


Michael Kay wrote:
15B6118AB8C34D1A9F3E46E622347CC8@Sealion" type="cite">
Why not writing it directly as a native XQuery sequence ?
("foo",xs:positiveInteger(5),<bar><bat/></bar>,<!-- foo -->)

    

How would you serialize a parentless attribute node having local name N,
prefix P, namespace URI U, whose string value is "S", whose isID property is
true, and whose type annotation is my:idType?

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

  


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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