Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

emacs-nxml-mode · New XML Mode for Emacs

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 239
  • Category: XML
  • Founded: Sep 5, 2003
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 919 - 948 of 2146   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#919 From: Chris Lawrence <chris@...>
Date: Fri Feb 4, 2005 9:45 pm
Subject: Fwd: Bug#293557: nxml-mode: id not recognized as a valid attribute for the html element
lordsutch
Send Email Send Email
 
Yes, the XHTML 1.0 DTD says the id attribute is permissible in <html>
elements (though, interestingly enough, HTML 4.01 doesn't permit its
use there!):

http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_html

Looks like a simple tweak to one of the xhtml*.rnc files.


Chris

---------- Forwarded message ----------
From: Vincent Lefevre <vincent@...>
Date: Fri, 4 Feb 2005 12:05:52 +0100
Subject: Bug#293557: nxml-mode: id not recognized as a valid attribute
for the html element
To: Debian Bug Tracking System <submit@...>


Package: nxml-mode
Version: 20041004-4
Severity: normal

Consider the following XHTML file:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="index.en">
<head><title>.</title></head>
<body>
</body>
</html>

It can be checked with xmllint that it is valid. But the nxml-mode
says that it is invalid because the id attribute is not allowed.

-- System Information:
Debian Release: 3.1
   APT prefers unstable
   APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-dixsept
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages nxml-mode depends on:
ii  emacs21                       21.3+1-8   The GNU Emacs editor
ii  emacsen-common                1.4.16     Common facilities for all emacsen

-- no debconf information
--
Chris Lawrence - http://blog.lordsutch.com/

#920 From: "DuCharme, Bob (LNG-CHO)" <bob.ducharme@...>
Date: Mon Feb 7, 2005 4:38 pm
Subject: use of xslt.rnc outside of nxml?
philregion
Send Email Send Email
 
While the RNC schema for XSLT is packaged as part of the nxml distribution, there's no reason not to use it elsewhere. Can anyone tell me examples of its use outside of Emacs, e.g. for validation of stylesheets as part of a production system or to drive other RNG-aware editors such as Oxygen?
 
thanks,
 
Bob DuCharme   www.snee.com/bob       <bob@ 
snee.com> weblog on linking-related topics:
http://www.oreillynet.com/pub/au/1191
 
 

#921 From: "arobert3434" <arobert@...>
Date: Wed Feb 9, 2005 6:17 pm
Subject: Reason doesn't work in Emacs 20?
arobert3434
Send Email Send Email
 
Hi, for unrelated reasons, I'm currently limited to Emacs 20 and am missing nxml
mode.  I
was under the impression that most changes from Emacs 20 to 21 had to do with
rendering, not basic lisp facilities.  Thus, I was wondering if anyone knows why
nxml mode
is said not to work with Emacs 20?

I might be willing to try a back-port if it is something that can be worked
around or done
without with no more than a minor loss in functionality..

#922 From: Vincent Lefevre <vincent@...>
Date: Tue Feb 15, 2005 1:49 pm
Subject: Duplicate definition of start: inconsistent behavior
vinc17fr
Send Email Send Email
 
Is there any reason why when I'm doing in a .rnc file:

default namespace = ""
include "xhtml/xhtml.rnc"
start = ...

nXML complains with an error "Duplicate definition of start",
while when I'm doing:

default namespace = ""
include "docbook/docbook.rnc"
start = ...

nXML doesn't complain at all?

Note: on my machine, docbook and xhtml are symlinks to
/usr/share/emacs/site-lisp/nxml-mode/schema/ (I don't know if there's
a better way to avoid a hard-coded paths in the .rnc files).

--
Vincent Lefèvre <vincent@...> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

#923 From: David Abrahams <dave@...>
Date: Tue Feb 15, 2005 2:27 pm
Subject: ** Where Is James Clark? **
dave_abrahams
Send Email Send Email
 
Sorry for the loud subject line, but has anyone heard from him since
26 Oct 2004?  I am stuck with some things related to nxml-mode, and
I'm hoping he hasn't dropped off the face of the planet because it
seems like nobody else can answer my questions.  I hope he's okay; he
makes wonderful software.

--
Dave Abrahams
Boost Consulting
www.boost-consulting.com

#924 From: "Lennart Borgman" <lennart.borgman.073@...>
Date: Tue Feb 15, 2005 3:39 pm
Subject: Re: ** Where Is James Clark? **
nlborgman
Send Email Send Email
 
Maybe you can look at this page:

http://www.jclark.com/bio.htm

He seems to be working in Thailand.



----- Original Message -----
From: "David Abrahams" <dave@...>

> Sorry for the loud subject line, but has anyone heard from him since
> 26 Oct 2004?  I am stuck with some things related to nxml-mode, and
> I'm hoping he hasn't dropped off the face of the planet because it
> seems like nobody else can answer my questions.  I hope he's okay; he
> makes wonderful software.

#925 From: James Clark <jjc@...>
Date: Tue Feb 15, 2005 4:31 pm
Subject: Re: ** Where Is James Clark? **
james_j_clark
Send Email Send Email
 
On Tue, 2005-02-15 at 09:27 -0500, David Abrahams wrote:
>
> Sorry for the loud subject line, but has anyone heard from him since
> 26 Oct 2004?  I am stuck with some things related to nxml-mode, and
> I'm hoping he hasn't dropped off the face of the planet because it
> seems like nobody else can answer my questions.

I'm still here, but unfortunately I haven't been able to find any time
to give to nXML mode since November 2004, and am unlikely to be able to
find any at least until November 2005.

What happened is that I started doing a bit of open source advocacy in
Thailand (where I've lived for some time), and ended up getting asked to
manage the Thai Government's effort to promote open source.  Frankly it
was a lot more fun hacking nXML mode, than it is putting on a suit and
tie, going to the office everyday at 8.30 and spending most of my time
sitting in meetings and writing proposals, but I see this as a once in a
lifetime opportunity to really make a difference, and I feel I need to
make a 100% effort to try to make this most of this opportunity.  So I
hope you'll forgive me if I temporarily give priority to this work over
supporting/hacking nXML mode.

James
--
To send me mail, replace auth-only by public in the from address.

#926 From: Ken Beesley <ken.beesley@...>
Date: Wed Feb 16, 2005 10:35 am
Subject: pattern facets in Relax NG
kennethbeesley
Send Email Send Email
 
RE:  pattern facets in Relax NG

I was very pleased to find that one can specify multiple
  regular-expression 'pattern' facets, e.g.

    Xtext = element xtext { xsd:string { pattern="..." pattern="..." }}

and that all of them have to be satisfied, and that nxml-mode
properly red-lines strings that aren't  valid, as you type.  Very nice.

Has any thought already been given to the following possibilities,
or can they already be done somehow?

1.  Implement  a negpattern="..." facet,
the complement of pattern.  E.g.

Xtext = element xtext { xsd:string { pattern="..."
negpattern=".*z.*z.*" negpattern="zork|cumquat"}}

would allow any string matching some arbitrarily complex regular
expression, shown above as "...", but EXCLUDING any strings
that contain two 'z' letters,
and EXCLUDING the words "zork" and "cumquat".
Multiple patterns and negpatterns would all have to be satisfied
for validity.  (Yes, I understand that the two negpatterns in the
example above could be unioned into one:
negpattern=".*z.*z.*|zork|cumquat".)

For non-trivial matching, it's often much easier to write a
general pattern that overrecognizes
somewhat and then filter the language accepted with something like a
negpattern.

2.  Add support for the definition of non-trivial regular expressions
via string interpolation, as in Perl.  Python has a similar
mechanism.  Possible utility:  The phonology and
orthography of some languages can be very predictable, with
words being composed of one or more syllables, and syllables
having a metapattern like  CVC*  (a consonant, followed by
a vowel, followed by zero or more consonants).  The definition
of a "possible word" pattern would be much facilitiated if one
could define and interpolate strings in a Perl-like manner, e.g.

$Con = "(p|t|k|q|h|v|m|n|s)" ;
$Vow = "[ieaou]" ;
$Syl   = "($Con$Vow$Con*)" ;
$Word = $Syll+ ;

Xtext = element xtext { xsd:string { pattern="$Word" } }

This is an artificially simple example, of course, but some real
languages (like Hopi) are not tremendously more complex
in what constitutes a phonologically/orthographically possible
word.  But the final pattern is definitely non-trivial, and trying
to write it as one monolithic regular expression would be both
tedious and error-prone.  String interpolation would allow
subparts of the pattern (like the definition of Consonant and Vowel)
to be changed and re-used consistently.

With the ability to construct complex patterns, and the
ability to exclude words via negpatterns, one could
reasonably build a kind of real-time Hopi spell checker
using Relax NG and nxml-mode.  It would red-line orthographically
impossible words as you type, which could be very useful in teaching
the orthography.

3.  (lower priority)  Definition of non-trivial regular expressions
might be facilitated for some people by implementing xpattern
and xnegpattern facets that work like pattern and negpattern,
respectively, but ignore any non-literalized whitespace in the
pattern.  Similar to Perl's "x" option, e.g. matching with /pattern/x
or substitution with s/pattern/string/x.

*****************************************************

If such functionality is already available somehow, please
point me to it.

Thanks,

Ken Beesley

#927 From: "Pawson, David" <david.pawson@...>
Date: Thu Feb 24, 2005 1:38 pm
Subject: jing conversion problem
dpawson2000
Send Email Send Email
 
Jing version 20030619

Input


<define name="Lexeme">
   <a:documentation>
     <html:p>Element lexeme. Single PLS entry </html:p>
   </a:documentation>
   <element name="lexeme">
     <oneOrMore>
       <ref name="Grapheme"/>
     </oneOrMore>
     <choice>
	 <optional>
	   <oneOrMore>
	     <ref name="Phoneme"/>
	   </oneOrMore>
	 </optional>
       <group>
	 <ref name="Alias"/>
	 <oneOrMore>
	   <ref name="Example"/>
	 </oneOrMore>
       </group>
     </choice>
   </element>
</define>


output

Lexeme =
   element lexeme {
     Grapheme+,
     ((Phoneme+? | (Alias, Example+))
             ^^^^^

   }

nxml-mode then complains of a missing  )

  ((Phoneme+)? | (Alias, Example+))

Corrected to the above, nxml-mode is happy
as is trang.

Any suggestions to improve the rng please?


Regards DaveP.

**** snip here *****

--
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

#928 From: Vincent Lefevre <vincent@...>
Date: Thu Feb 24, 2005 2:12 pm
Subject: nxml-mode doesn't detect invalid XHTML file ("a" in a "a")
vinc17fr
Send Email Send Email
 
The following XHTML file is invalid (according to the XHTML DTD)
due to the nested "a", but the schema provided with nXML accepts
it:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>.</title></head>
<body>
<p><a href="foo"><a href="bar">.</a></a></p>
</body>
</html>

--
Vincent Lefèvre <vincent@...> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

#929 From: "DuCharme, Bob (LNG-CHO)" <bob.ducharme@...>
Date: Thu Feb 24, 2005 5:02 pm
Subject: RE: nxml-mode doesn't detect invalid XHTML file ("a" in a "a")
philregion
Send Email Send Email
 
>The following XHTML file is invalid (according to the XHTML DTD)
>due to the nested "a", but the schema provided with nXML accepts
>it:
That is a puzzler. If you look through enough XHTML DTDs, I'm sure some "a" element type is declared with a parameter entity reference that allows typical inline elements, and a is a typical inline element, but xhtml.rnc says that it "corresponds to the union of transitional and frameset" and I don't see  www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd  or  www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd allowing nested a elements.
 
Bob

#930 From: Norman Walsh <normyahoo@...>
Date: Thu Feb 24, 2005 7:37 pm
Subject: Re: jing conversion problem
normwalsh
Send Email Send Email
 
/ "Pawson, David" <david.pawson@...> was heard to say:
| Jing version 20030619

I think you mean trang, but

| Lexeme =
|   element lexeme {
|     Grapheme+,
|     ((Phoneme+? | (Alias, Example+))
|             ^^^^^

it sure looks like a bug.

|  ((Phoneme+)? | (Alias, Example+))
|
| Corrected to the above, nxml-mode is happy
| as is trang.

Yes, and if you convert that back to RNG, you get your original
back.

                                         Be seeing you,
                                           norm

--
Norman Walsh <normyahoo@...> | The laws of conscience, which we
http://nwalsh.com/                  | pretend to be derived from
                                     | nature, proceed from custom.--
                                     | Montaigne

#931 From: "Pawson, David" <david.pawson@...>
Date: Fri Feb 25, 2005 8:16 am
Subject: RE: jing conversion problem
dpawson2000
Send Email Send Email
 
Thanks Norm.
I've mailed James;

http://www.thaiopensource.com/relaxng/trang.html
shows no feedback address.

regards DaveP

     it sure looks like a bug.

     --
     Norman Walsh <normyahoo@...> | The laws of
     conscience, which we
     http://nwalsh.com/                  | pretend to be derived from
                                         | nature, proceed from custom.--
                                         | Montaigne


--
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

#932 From: "Pawson, David" <david.pawson@...>
Date: Fri Feb 25, 2005 2:30 pm
Subject: msv + Schematron add-on
dpawson2000
Send Email Send Email
 
Trying to mail to the relaxng-user mailing list,
my message hasn't shown up after 5 hours.

wondering if the listserv is down?

Trying to use msv + schematron;
http://www.sun.com/software/xml/developers/schematronaddon/index.html

The file verifies with jing and msv;
Trying to use relames I get the trace below.

Any suggestions please?

TIA DaveP.




>set CLASSPATH=/myjava/relames/xalan.jar;/myjava/relames/  \
xercesImple.jar;/myjava/msv-Sun/msv.jar

>java -jar /myjava/relames/relames.jar  lexlang.rng lexlang.xml

relmes verifier   Copyright(C) Sun Microsystems, Inc. 2001
parsing    lexlang.rng
Exception in thread "main" java.lang.AbstractMethodError: com.sun.msv.schematron
.reader.PrefixResolverImpl.handlesNullPrefixes()Z
         at org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:391)
         at org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:134)
         at org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:155)

         at org.apache.xpath.XPath.<init>(XPath.java:202)
         at org.apache.xpath.XPath.<init>(XPath.java:238)
         at com.sun.msv.schematron.reader.SActionState.endSelf(Unknown Source)
         at com.sun.msv.reader.SimpleState.endElement(SimpleState.java:100)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:595)
         at com.sun.msv.reader.trex.TREXBaseReader.endElement(TREXBaseReader.java
:181)
         at com.sun.msv.reader.trex.ng.RELAXNGReader.endElement(RELAXNGReader.jav
a:533)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:462)
         at com.sun.msv.reader.GrammarReader.parse(GrammarReader.java:446)
         at com.sun.msv.schematron.reader.SRELAXNGReader.parse(Unknown Source)
         at com.sun.msv.schematron.Driver.main(Unknown Source)

--
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

#933 From: Sean C Sieger <scsieger@...>
Date: Fri Mar 4, 2005 2:06 am
Subject: xpath20.el
scsieger
Send Email Send Email
 
Could an xml file be searched directly using XPath 2.0
in nxml-mode? Or, put another way, could xpath.el
http://www.emacswiki.org/elisp/xpath.el
and path-parser.el
http://www.emacswiki.org/elisp/xpath-parser.el
be hacked into something like an xpath20.el that could
run XPath 2.0 expressions against a file in nxml-mode?

Forgive the naive question, I am new and looking for a
project in elisp xml.

-Sean




__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/

#934 From: drkm <darkman_spam@...>
Date: Mon Mar 7, 2005 2:39 pm
Subject: Re: ** Where Is James Clark? **
darkman_spam
Send Email Send Email
 
James Clark <jjc@...> writes:

> What happened is that I started doing a bit of open source advocacy in
> Thailand (where I've lived for some time), and ended up getting asked to
> manage the Thai Government's effort to promote open source.

   Good news.

>                                                                   So I
> hope you'll forgive me if I temporarily give priority to this work over
> supporting/hacking nXML mode.

   We'll try to survive (hum, at least, I'll try).  Thanks for your
work, and good luck,

--drkm

#935 From: drkm <darkman_spam@...>
Date: Tue Mar 8, 2005 2:03 pm
Subject: Re: spell checking and xml:lang
darkman_spam
Send Email Send Email
 
Vidar Gundersen <vbg-list@...> writes:

> (add-hook 'nxml-mode-hook
>   (lambda ()
>     (save-excursion
>       (when (search-forward-regexp "xml:lang=\"no\"" 250 0)
>  (setq ispell-local-dictionary "norsk")))))

   Maybe the following can interest you.  It is a little bit more
general.  It read the value of the xml:lang attribute (conforming to
RFC 3066), and look in an alist for the associated dictionnary name.
It is also a little bit more rigorous, in permitting spaces between
"xml:lang", "=" and ['"], and check pairing of ' or ".

   Also, I incremented the bound in search-forward-regexp (250 is too
less, think for examlpe about comments in the beginning of the file).
IMHO, 2500 is not so an huge value for Emacs.  In comparison, this
message body count +/- 2000 characters.

     (defvar nxml-flyspell:xml-lang-to-ispell-lang-alist
       '(("no"    . "norsk")
         ("en-US" . "american")
         ("en"    . "english")
         ("fr"    . "french"))
       "TODO: ...")

     (add-hook 'nxml-mode-hook
       (lambda ()
         (save-excursion
           (when (search-forward-regexp "xml:lang[ \t]*=[ \t]*['\"]" 2500 0)
             (looking-at
              (concat
"\\(\\([a-zA-Z]\\{1,8\\}\\)\\(?:-[a-zA-Z0-9]\\{1,8\\}\\)*\\)"
                      (char-to-string (char-before (point)))))
             (let ((lang (or (assoc (match-string 1)
                                    nxml-flyspell:xml-lang-to-ispell-lang-alist)
                             (assoc (match-string 2)
                                   
nxml-flyspell:xml-lang-to-ispell-lang-alist))))
               (when lang
                 (setq ispell-local-dictionary lang)))))))

--drkm

#936 From: "purpled17" <purpled17@...>
Date: Thu Mar 10, 2005 3:51 am
Subject: pretty printing /formating existing XML
purpled17
Send Email Send Email
 
Hi All,

Not sure if this is the right place to go but I've installed nxml,
psgml, and XAE, and read about them yet cannot find a solution to my
problem.

I have some existing xml documents without any whitespace between the
elements. I would like to load such a document (without a DTD or
schema) through an Emacs editor mode and run a command to format the
xml document.  I want to turn the giant one line of text into a
indented, color coded, tree-like structure for easy viewing.  I'm
thinking along the lines of xml display in MS Internet Explorer -
none of the actual document's format would change, only the alignment
of whitespace.  I don't need active buttons to click that would
expand and collapse elements, but something in Emacs that would make
my existing xml readable would be nice.  Does such a mode/command
exist?  Thanks for the help,

-Glenn B.

#937 From: "Pawson, David" <david.pawson@...>
Date: Thu Mar 10, 2005 8:15 am
Subject: RE: pretty printing /formating existing XML
dpawson2000
Send Email Send Email
 
-----Original Message-----
     From: purpled17

     Not sure if this is the right place to go but I've
     installed nxml, psgml, and XAE, and read about them yet
     cannot find a solution to my problem.

     I have some existing xml documents without any whitespace
     between the elements. I would like to load such a document
     (without a DTD or
     schema) through an Emacs editor mode and run a command to
     format the xml document.


     http://www.dpawson.co.uk/xsl/sect2/identity.html#d5257e13

XSLT using an identity transform with the output set to indent="yes"
Make sure you use a processor that treats this properly, Xalan
and Saxon do.

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

#938 From: "jame_smith009" <jame_smith009@...>
Date: Thu Mar 10, 2005 11:55 am
Subject: HELLO FRIEND'S!! THIS IS 4 YOU??
jame_smith009
Send Email Send Email
 
HELLO FRIEND'S!! THIS IS 4 YOU??

THIS IS A FREE CALLING CARDS SITE..ABSOLUTELY FREEEEE??....ITS REAL
BUDDY!!!!DONT DELAY

YOU JUST SIGN IN AND GO THROUGH THIS SITE ....LOGIN,SIGNUP AND GET
FREE CALLING CARDS??

THIS IS NOT A SPAM.REALLY CHEECK IT AND LOGIN

http://ww3.6URL.com/D4O

If u are looking for free cash then login to

http://ww3.6URL.com/8KZ

#939 From: Paulo Sequeira <psequeira@...>
Date: Thu Mar 10, 2005 1:47 pm
Subject: Re: pretty printing /formating existing XML
psequeira2003
Send Email Send Email
 
purpled17 wrote:
>
> Hi All,
>
> Not sure if this is the right place to go but I've installed nxml,
> psgml, and XAE, and read about them yet cannot find a solution to my
> problem.
>
> I have some existing xml documents without any whitespace between the
> elements. I would like to load such a document (without a DTD or
> schema) through an Emacs editor mode and run a command to format the
> xml document.  I want to turn the giant one line of text into a
> indented, color coded, tree-like structure for easy viewing.  I'm
> thinking along the lines of xml display in MS Internet Explorer -
> none of the actual document's format would change, only the alignment
> of whitespace.  I don't need active buttons to click that would
> expand and collapse elements, but something in Emacs that would make
> my existing xml readable would be nice.  Does such a mode/command
> exist?  Thanks for the help,
>
> -Glenn B.
>
mmm... I had the same problem. What I do in such cases is to pass the
XML document through xmllint --format, so I don't solve it with Emacs
nor nxml.

Paulo.

#940 From: David Abrahams <dave@...>
Date: Thu Mar 10, 2005 2:58 pm
Subject: Re: ** Where Is James Clark? **
dave_abrahams
Send Email Send Email
 
James Clark <jjc@...> writes:

> On Tue, 2005-02-15 at 09:27 -0500, David Abrahams wrote:
>>
>> Sorry for the loud subject line, but has anyone heard from him since
>> 26 Oct 2004?  I am stuck with some things related to nxml-mode, and
>> I'm hoping he hasn't dropped off the face of the planet because it
>> seems like nobody else can answer my questions.
>
> I'm still here, but unfortunately I haven't been able to find any time
> to give to nXML mode since November 2004, and am unlikely to be able to
> find any at least until November 2005.
>
> What happened is that I started doing a bit of open source advocacy in
> Thailand (where I've lived for some time), and ended up getting asked to
> manage the Thai Government's effort to promote open source.  Frankly it
> was a lot more fun hacking nXML mode, than it is putting on a suit and
> tie, going to the office everyday at 8.30 and spending most of my time
> sitting in meetings and writing proposals, but I see this as a once in a
> lifetime opportunity to really make a difference, and I feel I need to
> make a 100% effort to try to make this most of this opportunity.  So I
> hope you'll forgive me if I temporarily give priority to this work over
> supporting/hacking nXML mode.

Thanks for replying.  Sorry not to reply sooner, but I understand
you.  Good luck with your project!

--
Dave Abrahams
Boost Consulting
www.boost-consulting.com

#941 From: Adrian Robert <arobert@...>
Date: Thu Mar 10, 2005 3:43 pm
Subject: Re: pretty printing /formating existing XML
arobert3434
Send Email Send Email
 
> I have some existing xml documents without any whitespace between the
> elements. I would like to load such a document (without a DTD or
> schema) through an Emacs editor mode and run a command to format the
> xml document.  I want to turn the giant one line of text into a
> indented, color coded, tree-like structure for easy viewing.

Haven't run nxml mode lately to check this works, but Ctrl-X,h , Meta-x
'format-region' should do it.

#942 From: Adrian Robert <arobert@...>
Date: Thu Mar 10, 2005 3:59 pm
Subject: Re: pretty printing /formating existing XML
arobert3434
Send Email Send Email
 
On Mar 10, 2005, at 10:43 AM, Adrian Robert wrote:

>
>> I have some existing xml documents without any whitespace between the
>> elements. I would like to load such a document (without a DTD or
>> schema) through an Emacs editor mode and run a command to format the
>> xml document.  I want to turn the giant one line of text into a
>> indented, color coded, tree-like structure for easy viewing.
>
> Haven't run nxml mode lately to check this works, but Ctrl-X,h , Meta-x
> 'format-region' should do it.

Sorry, I meant 'indent-region'.

#943 From: "Lennart Borgman" <lennart.borgman.073@...>
Date: Thu Mar 10, 2005 4:06 pm
Subject: Clickable links in a xhtml document
nlborgman
Send Email Send Email
 
I have asked this question before, but I will try to be more specific this
time:

I would like to have clickable links (a-tags) in an xhtml document editied
with nxml-mode in Emacs. I would like this links to take me to the link
address in the document (or in another document) - still in nxml-mode.

Is there someone who has an idea how to implement this? Are there any points
in the parser where it is easy to catch links (a-tags) and targets (id=.. or
name=...)?

- Lennart

#944 From: drkm <darkman_spam@...>
Date: Thu Mar 10, 2005 4:45 pm
Subject: Re: pretty printing /formating existing XML
darkman_spam
Send Email Send Email
 
Adrian Robert <arobert@...> writes:

> On Mar 10, 2005, at 10:43 AM, Adrian Robert wrote:

>>>                I want to turn the giant one line of text into a
>>> indented, color coded, tree-like structure for easy viewing.

>> Haven't run nxml mode lately to check this works, but Ctrl-X,h , Meta-x
>> 'format-region' should do it.

> Sorry, I meant 'indent-region'.

   It doesn't.  At least, `C-x h C-M-\' on the following buffer does
nothing.

    
<elem><elem><elem><elem><elem><elem><elem><elem><elem><elem><elem><elem><elem></\
elem></elem></elem></elem></elem></elem></elem></elem></elem></elem></elem></ele\
m></elem>

--drkm

#945 From: Paulo Sequeira <psequeira@...>
Date: Thu Mar 10, 2005 5:07 pm
Subject: Re: pretty printing /formating existing XML
psequeira2003
Send Email Send Email
 
Adrian Robert wrote:
>
> On Mar 10, 2005, at 10:43 AM, Adrian Robert wrote:
>
>
>>>I have some existing xml documents without any whitespace between the
>>>elements. I would like to load such a document (without a DTD or
>>>schema) through an Emacs editor mode and run a command to format the
>>>xml document.  I want to turn the giant one line of text into a
>>>indented, color coded, tree-like structure for easy viewing.
>>
>>Haven't run nxml mode lately to check this works, but Ctrl-X,h , Meta-x
>>'format-region' should do it.
>
>
> Sorry, I meant 'indent-region'.
>

just tried this with a document (using nxml-20041004), and it seems that
it doesn't always break long lines with several elements. If it works
for somebody else, I'd like to know; meanwhile I'll still have to resort
to xmllint --format.

Paulo

#946 From: "purpled17" <purpled17@...>
Date: Thu Mar 10, 2005 7:00 pm
Subject: Re: pretty printing /formating existing XML
purpled17
Send Email Send Email
 
--- In emacs-nxml-mode@yahoogroups.com, Paulo Sequeira
<psequeira@r...> wrote:
> Adrian Robert wrote:
> >
> > On Mar 10, 2005, at 10:43 AM, Adrian Robert wrote:
> >
> >
> >>>I have some existing xml documents without any whitespace
between the
> >>>elements. I would like to load such a document (without a DTD or
> >>>schema) through an Emacs editor mode and run a command to format
the
> >>>xml document.  I want to turn the giant one line of text into a
> >>>indented, color coded, tree-like structure for easy viewing.
> >>
> >>Haven't run nxml mode lately to check this works, but Ctrl-X,h ,
Meta-x
> >>'format-region' should do it.
> >
> >
> > Sorry, I meant 'indent-region'.
> >
>
> just tried this with a document (using nxml-20041004), and it seems
that
> it doesn't always break long lines with several elements. If it
works
> for somebody else, I'd like to know; meanwhile I'll still have to
resort
> to xmllint --format.
>
> Paulo

Thanks for the help, I'll probably just use xmllint --format.  It was
quite painless when I ran it.

-Glenn

#947 From: "Klotz, Leigh" <Leigh.Klotz@...>
Date: Thu Mar 10, 2005 7:31 pm
Subject: RE: Re: pretty printing /formating existing XML
leighklotz
Send Email Send Email
 
You can do
  Ctrl-x h M-| xmllint --format -
to run it in place on the buffer.


-----Original Message-----
From: purpled17 [mailto:purpled17@...]
Sent: Thursday, March 10, 2005 11:00 AM
To: emacs-nxml-mode@yahoogroups.com
Subject: [emacs-nxml-mode] Re: pretty printing /formating existing XML

....
Thanks for the help, I'll probably just use xmllint --format.  It was
quite painless when I ran it.

-Glenn

#948 From: "smitha_kathy" <smitha_kathy@...>
Date: Mon Mar 14, 2005 4:52 am
Subject: Check this awesome Online Directory
smitha_kathy
Send Email Send Email
 
Hello,

I have always had problems using search engines to find what I
wanted,as it always poped up results that I was in no way looking for.
I just happen to go through a very simple page, with relavent links on
computing and felt that it could be useful to you too. You may go to
http://www.yahoouk.org/computing for the computing catalog with the
following sub areas : Computer Hardware, Computer Peripherals,Computer
Programming,Computer Security,Computer Services,Computer Storage
Devices,Document Management,Ecommerce, Email, Enterprise Software
Help Desk Services, Internet Service Providers, Memory, Network Design
& Construction, Network Hardware, Online Content, Printers, Software
Applications, Software Development and Web Hosting.

Kathy

Messages 919 - 948 of 2146   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help