[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Word of the day: upconversion
- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Fri, 21 Aug 2009 18:57:23 +0530
Hi Roger,
upconversion is a *process* for converting unstructured text to
structured data (like, XML).
The prose (a) and XML (c) (that you mentioned in your post) represent
the input and output of the upconversion process.
But, XPath expression (b) is a kind of program/instruction to retrieve
data from an XML document. The XPath expression, you have written in
point (b) when applied to some larger XML, may return an XML fragment
like, your point c).
On Fri, Aug 21, 2009 at 6:29 PM, Costello, Roger L.<costello@mitre.org> wrote:
> Suppose we place prose somewhere between random text and XML:
>
>
> <------------------------------------------------->
> random prose XML
>
> upconversion --------->
>
>
>
> Where would you place XPath?
>
>
> For example, consider these three ways of expressing a business rule:
>
> (a) Prose
>
> Level 1 managers may sign off on purchase requests
> that do not exceed $10K.
>
> (b) XPath
>
> not(purchase-request[number(cost) gt 10000])
>
> (c) XML
>
> <Request id="purchase">
> <signoff manager="level1" LE="10000" />
> </Datatype>
>
>
> Where would you place the XPath expression in this spectrum:
>
>
> <------------------------------------------------->
> random prose XML
>
> upconversion --------->
>
>
> Would you place it close to the XML side? Would you place it close to the random side? Would you place it to the left of prose? Would you place it to the right of prose?
>
>
> /Roger
>
> [1] http://www.saxonica.com/papers/ideadb-1.1/mhk-paper.xml
--
Regards,
Mukul Gandhi
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]