xsl-list
[Top] [All Lists]

RE: grouping + global variable (?) (was re: regexs, group ing (?) and XSLT2?)

2004-08-16 04:21:35
 

    -----Original Message-----
    From: Wendell Piez

    
    I do hope this thread provokes others to contribute.
    
 
    Well up-conversion has been going on along as e-text has. 
    But XML is only now beginning to catch up to where Omnimark 
    and even Perl were years ago.

Omnimark is well worth the investment for up-transforms.

    

    
   

    

    

    
    You need a way to trap and fix bad incoming tagging before 
    it gets into your system, where it's expensive to deal with.

http://mercury.ccil.org/~cowan/XML/tagsoup/ may provide a solution.



    
    A plain-text editing window is appealing (many writers like 
    their keyboards), but you're going to need at least a 
    "galley" preview on input, before commit, or you're going 
    to go insane. A real grammar for your syntax would be even better.

Two options spring to mind.
The 'wiki' markup option, as exounded by Rick.
http://www.xml.com/pub/a/2004/03/03/sgmlwiki.html

I like it, others don't.

The second is a thing I called uphill. Basically parsing
plain text, looking for linefeed counts, e.g, Two prior
represents this 'para' as a heading.

I hacked it out in Python, then moved it to Java.
Either will work with regular input. 

  
    
    If it were me I'd be inclined to see how far I could go 
    with XSLT 2. But then, I like XSLT. I am actually fairly 
    hopeful that XSLT 2 processors will be strong contenders in 
    this space.

http://www.dpawson.co.uk/xsl/rev2/regex2.html#d13259e181
shows the basics.

HTH DaveP

-- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 


<Prev in Thread] Current Thread [Next in Thread>
  • RE: grouping + global variable (?) (was re: regexs, group ing (?) and XSLT2?), David . Pawson <=