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

RE: Well-established uses of processing instructions?

  • To: "Jonathan Robie" <jonathan.robie@d...>,"Dare Obasanjo" <dareo@m...>
  • Subject: RE: Well-established uses of processing instructions?
  • From: "Derek Denny-Brown" <derekdb@m...>
  • Date: Tue, 10 May 2005 22:58:32 -0700
  • Cc: "Vladimir Gapeyev" <vgapeyev@s...>,<xml-dev@l...>
  • Thread-index: AcVVcZjtn++bkwbhTuq5J3T0X0F1vAAfFV4A
  • Thread-topic: Well-established uses of processing instructions?

infopath uses xml format help
It allows Word/InfoPath to work with existing Schema.  The Schema
probably already dictates the root element for the document, and to wrap
it with <ms:word> would break any other software that expected the
native shape.  Think of this use of the PI as similar to the #! At the
head of scripts on Unix.  It is useful for many of the same reasons.

-derek

> -----Original Message-----
> From: Jonathan Robie [mailto:jonathan.robie@d...]
> Sent: Tuesday, May 10, 2005 7:58 AM
> To: Dare Obasanjo
> Cc: Vladimir Gapeyev; xml-dev@l...
> Subject: Re:  Well-established uses of processing
instructions?
> 
> What is the advantage of using a PI for this?
> 
> Jonathan
> 
> Dare Obasanjo wrote:
> 
> >The various Microsoft Office 2003 XML formats such as
wordProcessingML
> >use processing instructions to indicate which application should be
used
> >for opening the file. See
>
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/WordXM
L
> >CDK/html/cdktHTMLConverter_HV01113361.asp
> >
> >--
> >PITHY WORDS OF WISDOM
> >Two wrongs are only the beginning.
> >
> >This posting is provided "AS IS" with no warranties, and confers no
> >rights.
> >
> >
> >
> >>-----Original Message-----
> >>From: Vladimir Gapeyev [mailto:vgapeyev@s...]
> >>Sent: Sunday, May 08, 2005 7:33 PM
> >>To: xml-dev@l...
> >>Subject:  Well-established uses of processing instructions?
> >>
> >>
> >>I am curious to know to what uses have people put XML
> >>processing instructions.  I am more interested in those that
> >>have a "community"
> >>around them (manifesting itself by a de jure or a de facto
> >>standard, or multiple applications that understand the PI, or
> >>large amount of document instances with unrelated authorship)
> >>rather than in made-up samples, however plausible they are.
> >>Any pointers?
> >>
> >>After some search, I am aware of just a couple instances:
> >>
> >>(1) http://www.w3.org/TR/xml-stylesheet/ -- W3C
> >>Recommendation of 1999 on Associating Style Sheets with XML
> >>documents.  How much is this Rec important for non-HTML XML
> >>documents?  (For (X)HTML, the <LINK REL="stylesheet"> element
> >>appears to be a better solution.)
> >>
> >>(2) It appears Apache project Cocoon-1 used PIs, but Cocoon-2
> >>switched to a more flexible model where association between
> >>an XML document and a processor is specified by a third,
> >>separate, document
> >>(http://wiki.apache.org/cocoon/ThePyramidModel?highlight=%28pr
> >>ocessing%29%7C%28instruction%29).
> >>
> >>Thanks for any help,
> >>
> >>Vladimir
> >>
> >>-----------------------------------------------------------------
> >>The xml-dev list is sponsored by XML.org
> >><http://www.xml.org>, an initiative of OASIS
> >><http://www.oasis-open.org>
> >>
> >>The list archives are at http://lists.xml.org/archives/xml-dev/
> >>
> >>To subscribe or unsubscribe from this list use the subscription
> >>manager: <http://www.oasis-open.org/mlmanage/index.php>
> >>
> >>
> >>
> >>
> >
> >-----------------------------------------------------------------
> >The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> >initiative of OASIS <http://www.oasis-open.org>
> >
> >The list archives are at http://lists.xml.org/archives/xml-dev/
> >
> >To subscribe or unsubscribe from this list use the subscription
> >manager: <http://www.oasis-open.org/mlmanage/index.php>
> >
> >
> >
> >
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>


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.