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

RE: Serialization of XDM - Use cases / Proposal

  • From: "Jim Tivy" <jimt@bluestream.com>
  • To: "'David A. Lee'" <dlee@calldei.com>
  • Date: Fri, 18 Sep 2009 18:00:24 -0700

RE:  Serialization of XDM - Use cases / Proposal
David

I do not see in this spec where it defines the serialization of a sequence.
I was not talking about concatenating "nodes" but rather concatenation of
text from a sequence after it was serialized.

Jim

-----Original Message-----
From: David A. Lee [mailto:dlee@calldei.com] 
Sent: Friday, September 18, 2009 4:46 PM
To: Jim Tivy
Cc: xml-dev@lists.xml.org; 'XProc Dev'
Subject: Re:  Serialization of XDM - Use cases / Proposal

This is a case, if I'm reading it properly, where the current XDM 
Serializaiton spec may serve perfectly.
http://www.w3.org/TR/xslt-xquery-serialization/

That would concatenate the result nodes such that it is serialized 
equivalently to an external entity.



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



Jim Tivy wrote:
> Here is a better description of the use case I have:
>
> There are a number "templating" technologies in use for defining web
pages;
> for example PHP, ASP and JSP.  These templating languages have been very
> successful.  When these templates "execute", they produce an HTML page as
an
> HTTP response.  These templating technologies allow you to mix html tags
> with program logic to create web pages dynamically.  These templating
> languages, as a rule, are text based in that they define a page by
> concatenating HTML chunks of text together.  For example, in a JSP file,
> sometimes these HTML chunks are literal text and other times they are
> calculated and "injected inline" into the output - always as text.
>
> It should be possible to inject an XDM text serialization (a sequence of
> <div> tags and children, for instance) as returned by
> getPipelineSerialization () call in this simple JSP page shown below: 
>
> <html>
>    <body>
>       <% out.write(getPipelineSerialization("mypipeline")); %>
>    </body>
> </html>
>
> examples of jsps:
>
> http://java.sun.com/products/jsp/html/jspbasics.fm.html
>
> -----Original Message-----
> From: Jim Tivy [mailto:jimt@bluestream.com] 
> Sent: Friday, September 18, 2009 3:12 PM
> To: 'David A. Lee'
> Cc: xml-dev@lists.xml.org; talk@x...; 'XProc Dev'
> Subject: RE:  Serialization of XDM - Use cases / Proposal
>
> Hi David
>
> We use XDM serialization - for a simple sequence.  We have a pipeline that
> we execute and the last node is XPath /html/body/* of an upstream html
> document - we call it html core output.  We use this in JSP (java server
> pages) code where we wish to establish the css files and meta tags but
serve
> up the html content from the pipeline.
>
> If you like I can write this up in your wiki.
>
> Jim
>
>  
>
> -----Original Message-----
> From: David A. Lee [mailto:dlee@calldei.com] 
> Sent: Friday, September 18, 2009 2:07 PM
> Cc: xml-dev@lists.xml.org; talk@x...; XProc Dev
> Subject: Re:  Serialization of XDM - Use cases / Proposal
>
> I have created a first pass at documenting the problem of XDM 
> Serialization and created some use cases.
> I would love any feedback or comments.  This is on a new wiki I created 
> for this purpose.  If you would like to comment directly on the wiki 
> please reply to me and I will give you the invite code (due to the sad 
> state of affairs anonymous comments and editing are disabled due to 
> wiki-spam-bots.  I've found spam within 5 minutes of opening a public 
> wiki ... <sigh> )
>
>
> http://xml.calldei.com/XDMSerialize
>
> I have NOT included a proposal for a format yet, I'd like to discuss the 
> intent and use cases first before putting up a straw-man proposal.
>
> Thank you for any contribution !
>
> I've CC'd this to xproc-dev because one of the use cases if for 
> developers and integrators with XML Pipeline processors such as XProc
>
>
> David A. Lee
> dlee@calldei.com  
> http://www.calldei.com
> http://www.xmlsh.org
> 812-482-5224
>
>
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>   

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php





[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-2013 All Rights Reserved.